﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DBSCAN
{
    public partial class Test1ParaDlg : Form
    {
        private int N;
        private double level;
        public Test1ParaDlg()
        {
            InitializeComponent();
            this.txtN.Text = "5";
            this.txtLevel.Text = "0.5";
        }

        internal int GetN()
        {
            //int N = this.txtN.Text.ToString();
            int.TryParse(this.txtN.Text.ToString(),out N);
            return N;
            //throw new NotImplementedException();
        }

        internal double GetLevel()
        {
            double.TryParse(this.txtLevel.Text.ToString(), out level);
            return level;
            //throw new NotImplementedException();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void ParaDlg_Load(object sender, EventArgs e)
        {

        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            
        }
    }
}
